package com.ms.game.billing;

import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.ms.game.gmtool.PurchasePlatformType;
import com.xpec.c4.db.model.basic.BasicGameModel;

@Entity
@Table(name = "game_billing_store_limit")
@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
@org.hibernate.annotations.Table(appliesTo = "game_billing_store_limit", indexes = { @org.hibernate.annotations.Index(name = "IDX_ACCOUNT_ID", columnNames = { "accountId" }) })
public class StoreLimitModel extends BasicGameModel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8291748900899405707L;

	private String accountId;

	/**
	 * 哪個平台 
	 * @see PurchasePlatformType
	 */
	private String pid;
	
	/**
	 * 哪個月份的
	 */
	private Integer month;
	
	/**
	 * 儲值金額
	 */
	private BigDecimal totalStoreMoney;


	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}
	
	public BigDecimal getTotalStoreMoney() {
		return totalStoreMoney;
	}

	public void setTotalStoreMoney(BigDecimal totalStoreMoney) {
		this.totalStoreMoney = totalStoreMoney;
	}
	
	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
}
